package com.fptt;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class DataPoint 
{
	private Date date = new Date();
	private Double open = 0.0;
	private Double high = 0.0;
	private Double low = 0.0;
	private Double close = 0.0;
	private Double volume = 0.0;
	private int dataPointNum = 0;
	private ArrayList<Double> emaList = new ArrayList<Double>();
	private Map<Integer, Double> emaMap = new HashMap<Integer, Double>();
	private String emaTrend = Constants.EMPTY_STR;
	private Double maxEmaDiff = null;

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Double getOpen() {
		return open;
	}

	public void setOpen(Double open) {
		this.open = open;
	}

	public Double getHigh() {
		return high;
	}

	public void setHigh(Double high) {
		this.high = high;
	}

	public Double getLow() {
		return low;
	}

	public void setLow(Double low) {
		this.low = low;
	}

	public Double getClose() {
		return close;
	}

	public void setClose(Double close) {
		this.close = close;
	}

	public Double getVolume() {
		return volume;
	}

	public void setVolume(Double volume) {
		this.volume = volume;
	}

	public int getDataPointNum() {
		return dataPointNum;
	}

	public void setDataPointNum(int dataPointNum) {
		this.dataPointNum = dataPointNum;
	}

	public List<Double> getEmaList() {
		return emaList;
	}

	public void setEmaList(ArrayList<Double> emaList) {
		this.emaList = emaList;
	}

	public Map<Integer, Double> getEmaMap() {
		return emaMap;
	}

	public void setEmaMap(Map<Integer, Double> emaList) {
		this.emaMap = emaList;
	}

	public String getEmaTrend() {
		return emaTrend;
	}

	public void setEmaTrend(String emaTrend) {
		this.emaTrend = emaTrend;
	}

	public Double getMaxEmaDiff() {
		return maxEmaDiff;
	}

	public void setMaxEmaDiff(Double maxEmaDiff) {
		this.maxEmaDiff = maxEmaDiff;
	}
}
